package com.ph.website.home.vo;

import lombok.Data;

public class NewsVo {

    @Data
    public static class ListVo{
        private Integer newsId;
        private String title;
        private String origin;
        private Integer newsType;       //类型(1:公司动态, 2:行业资讯)
        private Integer newsState;      //新闻状态(0:新创建, 1:待修改, 2:待审核, 3:已发布/审核通过)
        private String createTime;        //创建时间
        private String publishTime;     //发布时间
    }

    @Data
    public static class GetVo{
        private Integer newsId;
        private String title;
        private String origin;
        private Integer newsType;
        private Integer newsState;
        private String createTime;
        private String content;
    }

    @Data
    public static class WebListVo{
        private String title;
        private String time;
        private Integer newsId;
        private String url;
    }
}
